mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 05:05:45 +02:00
9 lines
No EOL
208 B
Ruby
9 lines
No EOL
208 B
Ruby
class CreateActions < ActiveRecord::Migration
|
|
def change
|
|
create_table :actions do |t|
|
|
t.belongs_to :user, foreign_key: true
|
|
t.string :operation
|
|
t.datetime :created_at
|
|
end
|
|
end
|
|
end |