mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
parent
90ed23f64d
commit
b6ecae6a35
41 changed files with 1239 additions and 61 deletions
9
db/migrate/20180824215326_create_actions.rb
Normal file
9
db/migrate/20180824215326_create_actions.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue