budget/db/migrate/20221120204751_create_members.rb

11 lines
232 B
Ruby
Raw Permalink Normal View History

2022-11-20 15:52:18 -05:00
class CreateMembers < ActiveRecord::Migration[7.0]
def change
create_table :members do |t|
t.string :name, default: "", null: false
t.boolean :pays, default: true, null: false
t.timestamps
end
end
end