Skip to content

Seed data - to give your local env lots of test data - #1981

Open
andrewarrow wants to merge 2 commits into
SnailyCAD:mainfrom
andrewarrow:seed_data
Open

Seed data - to give your local env lots of test data#1981
andrewarrow wants to merge 2 commits into
SnailyCAD:mainfrom
andrewarrow:seed_data

Conversation

@andrewarrow

Copy link
Copy Markdown

After a fresh install I made the first user and then ran:

snaily=# select id from "User";
            id             
---------------------------
 cmlze2m4s00008qjtsfe9cunr

snaily=# select id from "cad";
            id             
---------------------------
 cmlze2m4w00018qjtezaqz2j5

$ sed -i '' 's/cmlzbadjt0000scde6bat9cip/cmlze2m4s00008qjtsfe9cunr/g' seed.sql 
$ sed -i '' 's/cmlzbadjx0001scdefsp5pluv/cmlze2m4w00018qjtezaqz2j5/g' seed.sql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant