Files
nemo_encoder/db/migrate/20170121092515_create_lookups.rb
2017-01-24 17:45:40 +06:30

12 lines
301 B
Ruby

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