Initial commit
This commit is contained in:
9
db/migrate/20210714111301_add_state_to_documents.rb
Normal file
9
db/migrate/20210714111301_add_state_to_documents.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class AddStateToDocuments < ActiveRecord::Migration[5.2]
|
||||
def up
|
||||
add_column :documents, :state, :integer, null: false, default: 0
|
||||
end
|
||||
|
||||
def down
|
||||
remove_column :documents, :state
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user