mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Create action to migrate settings to new model
This commit is contained in:
parent
950bdc6256
commit
b3941a373c
5 changed files with 589 additions and 418 deletions
|
@ -2,7 +2,7 @@ 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, null: false
|
||||
t.string :value, null: false, default: ''
|
||||
t.string :group, null: false
|
||||
t.string :format, null: false
|
||||
|
||||
|
|
899
db/structure.sql
899
db/structure.sql
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue