@@ -1,4 +1,4 @@
|
|||||||
class CreateArtistUrls < ActiveRecord::Migration[4.2]
|
class CreateArtistURLs < ActiveRecord::Migration[4.2]
|
||||||
def self.up
|
def self.up
|
||||||
create_table :artist_urls do |t|
|
create_table :artist_urls do |t|
|
||||||
t.column :artist_id, :integer, :null => false
|
t.column :artist_id, :integer, :null => false
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
class AddIsActiveToArtistUrls < ActiveRecord::Migration[5.2]
|
class AddIsActiveToArtistURLs < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
ApplicationRecord.without_timeout do
|
ApplicationRecord.without_timeout do
|
||||||
add_column :artist_urls, :is_active, :boolean, null: false, default: true
|
add_column :artist_urls, :is_active, :boolean, null: false, default: true
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
class AddTrigramIndexToArtistUrls < ActiveRecord::Migration[5.2]
|
class AddTrigramIndexToArtistURLs < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
execute "set statement_timeout = 0"
|
execute "set statement_timeout = 0"
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
class AddPageUrlToUploadMediaAssets < ActiveRecord::Migration[7.0]
|
class AddPageURLToUploadMediaAssets < ActiveRecord::Migration[7.0]
|
||||||
def change
|
def change
|
||||||
add_column :upload_media_assets, :page_url, :string, null: true
|
add_column :upload_media_assets, :page_url, :string, null: true
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user