* Lint some quotation marks * Add BackupData table * Add identity and removal functionality * Test additional functionality * Remove dependent destroy for backup data * Add auth_data_dump column * Add challenge to reserved words * Add more shoulda matchers
12 lines
314 B
Ruby
12 lines
314 B
Ruby
class CreateBackupDataTable < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :backup_data do |t|
|
|
t.bigint :instance_id, null: false
|
|
t.string :instance_type, null: false
|
|
t.bigint :instance_user_id
|
|
t.jsonb :json_data, null: false
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|