mirror of
https://github.com/internetee/registry.git
synced 2025-06-04 11:47:30 +02:00
16 lines
386 B
Ruby
16 lines
386 B
Ruby
class CreateSettingEntries < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :setting_entries do |t|
|
|
t.string :code, null: false, index: { unique: true }
|
|
t.string :value
|
|
t.string :group, null: false
|
|
t.string :format, null: false
|
|
|
|
# Versioning related
|
|
t.string :creator_str
|
|
t.string :updator_str
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|