mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 23:46:30 +08:00
10 lines
231 B
Ruby
10 lines
231 B
Ruby
class CreateUsers < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :users do |t|
|
|
t.string :username, limit: 20, null: false
|
|
t.string :avatar_url, null: false
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|