12 lines
301 B
Ruby
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
|