scinote-web/db/migrate/20170116143350_add_name_to_tables.rb

6 lines
141 B
Ruby
Raw Normal View History

2017-06-30 16:23:28 +08:00
class AddNameToTables < ActiveRecord::Migration[4.2]
2017-01-17 00:11:08 +08:00
def change
2017-01-19 23:42:14 +08:00
add_column :tables, :name, :string, default: '', index: true
2017-01-17 00:11:08 +08:00
end
end