?
This commit is contained in:
parent
e253a71fc4
commit
2696e1f184
33 changed files with 443 additions and 0 deletions
12
db/migrate/20220409220708_create_discordusers.rb
Normal file
12
db/migrate/20220409220708_create_discordusers.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
class CreateDiscordusers < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
create_table :discord_users do |t|
|
||||
t.string :discord_id
|
||||
t.string :username
|
||||
t.string :discriminator
|
||||
t.string :avatar
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
11
db/migrate/20220410011426_create_users.rb
Normal file
11
db/migrate/20220410011426_create_users.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class CreateUsers < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
create_table :users do |t|
|
||||
t.string :provider
|
||||
t.string :uid
|
||||
t.string :border
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue