Gab Social. All are welcome.

This commit is contained in:
robcolbert
2019-07-02 03:10:25 -04:00
commit bd0b5afc92
5366 changed files with 222812 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
class CreateGroups < ActiveRecord::Migration[5.2]
def change
create_table :groups do |t|
t.belongs_to :account
t.string :title, null: false
t.string :description, null: false
t.attachment :cover_image, null: true
t.boolean :is_nsfw, null: false, default: false
t.boolean :is_featured, null: false, default: false
t.boolean :is_archived, null: false, default: false
t.timestamps
end
end
end