Initial commit
This commit is contained in:
13
db/migrate/20181208001821_create_contract_templates.rb
Normal file
13
db/migrate/20181208001821_create_contract_templates.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class CreateContractTemplates < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :contract_templates do |t|
|
||||
t.belongs_to :project, foreign_key: true
|
||||
t.string :name
|
||||
t.text :body
|
||||
t.text :guardian_clause
|
||||
t.monetize :fee
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user