add new files
This commit is contained in:
11
db/migrate/20170121092515_create_lookups.rb
Normal file
11
db/migrate/20170121092515_create_lookups.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class CreateLookups < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
create_table :lookups do |t|
|
||||
t.string :name,:null => false
|
||||
t.integer :max_value
|
||||
t.string :prefix
|
||||
t.integer :max_length
|
||||
t.timestamps null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user