Files
sx-fc/db/migrate/20170403174309_create_lookups.rb
2018-07-06 11:55:22 +06:30

10 lines
250 B
Ruby
Executable File

class CreateLookups < ActiveRecord::Migration[5.1]
def change
create_table :lookups do |t|
t.string :lookup_type, :null => false, :index => true
t.string :name, :null => false
t.string :value, :null => false
end
end
end