Updated style and layout
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddLocaleToConference < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :conferences, :locale, :string
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,26 @@
|
||||
class CreateTranslationTables < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :translation_records do |t|
|
||||
t.string :locale
|
||||
t.integer :translator_id
|
||||
t.string :key
|
||||
t.text :value
|
||||
t.date :created_at
|
||||
end
|
||||
|
||||
create_table :dynamic_translation_records do |t|
|
||||
t.string :locale
|
||||
t.integer :translator_id
|
||||
t.string :model_type
|
||||
t.integer :model_id
|
||||
t.string :column
|
||||
t.text :value
|
||||
t.date :created_at
|
||||
end
|
||||
end
|
||||
|
||||
def self.down
|
||||
drop_table :translation_records
|
||||
drop_table :dynamic_translation_records
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddEmailAddressToConferences < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :conferences, :email_address, :string
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddPaypalEmailAddressToConferences < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :conferences, :paypal_email_address, :string
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user