mastodon/db/migrate/20190827120456_create_user_groups.rb

15 lines
319 B
Ruby
Raw Permalink Normal View History

2019-08-27 17:05:17 +02:00
class CreateUserGroups < ActiveRecord::Migration[5.2]
def change
create_table :user_groups do |t|
t.string :name, null: false
t.datetime :createdAt
t.string :visibility
t.integer :account_id
t.integer :creator_id
2019-08-27 17:33:45 +02:00
t.integer :statuses_count
2019-08-27 17:05:17 +02:00
t.timestamps
end
end
end