Soc/db/migrate/20240126101316_create_featu...

11 lines
259 B
Ruby
Raw Normal View History

2024-02-04 14:16:19 +00:00
class CreateFeatureFlags < ActiveRecord::Migration[7.0]
def change
create_table :feature_flags do |t|
t.string :name, null: false, index: { unique: true }
t.boolean :enabled, null: false, default: false
t.timestamps
end
end
end