scinote-web/db/migrate/20170116143350_add_name_to_tables.rb
2017-06-30 10:23:28 +02:00

5 lines
141 B
Ruby

class AddNameToTables < ActiveRecord::Migration[4.2]
def change
add_column :tables, :name, :string, default: '', index: true
end
end