Added migrations for CreatingGroupCategories
• Added: - migrations for CreatingGroupCategories
This commit is contained in:
parent
63176831da
commit
da62ddbbc8
8
db/migrate/20200727224633_create_group_categories.rb
Normal file
8
db/migrate/20200727224633_create_group_categories.rb
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
class CreateGroupCategories < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
create_table :group_categories do |t|
|
||||||
|
t.timestamps
|
||||||
|
t.string :text, null: false, default: ''
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
x
Reference in New Issue
Block a user