Initial commit
This commit is contained in:
17
db/migrate/20181022134900_create_area_releases.rb
Normal file
17
db/migrate/20181022134900_create_area_releases.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
class CreateAreaReleases < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :area_releases do |t|
|
||||
t.belongs_to :project, foreign_key: true
|
||||
t.string :name
|
||||
t.string :address_street1
|
||||
t.string :address_street2
|
||||
t.string :address_city
|
||||
t.string :address_state
|
||||
t.string :address_zip
|
||||
t.string :address_country
|
||||
t.text :notes
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user