final db structure
This commit is contained in:
9
db/migrate/20170403174309_create_lookups.rb
Normal file
9
db/migrate/20170403174309_create_lookups.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class CreateLookups < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
create_table :lookups do |t|
|
||||
t.string :lookup_type, :null => false
|
||||
t.string :name, :null => false
|
||||
t.string :value, :null => false
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user