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

6 lines
136 B
Ruby
Raw Normal View History

2017-01-17 00:11:08 +08:00
class AddNameToTables < ActiveRecord::Migration
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