Upstream sync
This commit is contained in:
17
db/migrate/20200626044744_create_casting_calls.rb
Normal file
17
db/migrate/20200626044744_create_casting_calls.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
class CreateCastingCalls < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
create_table :casting_calls do |t|
|
||||
t.references :project
|
||||
t.string :title
|
||||
t.string :user_email
|
||||
t.text :description
|
||||
t.text :project_description
|
||||
t.text :interview_instructions
|
||||
t.text :interview_requirements
|
||||
t.text :questions
|
||||
t.datetime :cancelled_at
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
12
db/migrate/20200701121237_create_casting_call_interviews.rb
Normal file
12
db/migrate/20200701121237_create_casting_call_interviews.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class CreateCastingCallInterviews < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
create_table :casting_call_interviews do |t|
|
||||
t.references :casting_call, foreign_key: true
|
||||
t.string :performer_name
|
||||
t.string :zoom_meeting_url
|
||||
t.datetime :interview_date
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
6
db/migrate/20200706193123_add_token_to_casting_calls.rb
Normal file
6
db/migrate/20200706193123_add_token_to_casting_calls.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddTokenToCastingCalls < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_column :casting_calls, :token, :string
|
||||
add_index :casting_calls, :token, unique: true
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,6 @@
|
||||
class AddTokenToCastingCallInterviews < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_column :casting_call_interviews, :token, :string
|
||||
add_index :casting_call_interviews, :token, unique: true
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddInterviewedAtToCastingCallInterview < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_column :casting_call_interviews, :interviewed_at, :datetime
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user