mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
Merge branch 'master' into refactor-messages
# Conflicts: # db/structure.sql
This commit is contained in:
commit
056c57530c
32 changed files with 730 additions and 148 deletions
|
@ -0,0 +1,7 @@
|
|||
class AddRegistryLockTimeColumn < ActiveRecord::Migration
|
||||
def change
|
||||
change_table(:domains) do |t|
|
||||
t.column :locked_by_registrant_at, :datetime, null: true
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,9 @@
|
|||
class ChangeDomainPendingJsonToJsonb < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :domains, :pending_json, 'jsonb USING CAST(pending_json AS jsonb)'
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :domains, :pending_json, 'json USING CAST(pending_json AS json)'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue