AutoCommit Mon Jun 8 22:03:14 CEST 2015
This commit is contained in:
15
db/migrate/20150608193256_create_keys.rb
Normal file
15
db/migrate/20150608193256_create_keys.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
class CreateKeys < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :keys do |t|
|
||||
t.string :uuid
|
||||
t.datetime :expire
|
||||
t.string :parent_type
|
||||
t.integer:parent_id
|
||||
t.integer :typ
|
||||
t.integer :user_id
|
||||
t.boolean :is_valid
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user